
#ifndef __LIBERTY_ENGINE_BEHAVIOUR_H__
#define __LIBERTY_ENGINE_BEHAVIOUR_H__

#include <Liberty3D/Engine/Component.h>

namespace Liberty { namespace Engine {
    class Behaviour : public Component {
    protected:
        bool _enabled;

    public:
        Behaviour();

    public:
        inline bool enabled() const { return _enabled; }
        void setEnabled(bool);

    public:
        virtual void onEnable();
        virtual void onDisable();
    };
}}

#endif
